API Documentation
WheelEventData.h
1 // WheelEventData.h
3 //
5 
6 namespace nkWinUi
7 {
11  struct WheelEventData final
12  {
15 
16  float _delta = 0.f ;
17 
18  bool _ctrlDown = false ;
19  bool _leftButtonDown = false ;
20  bool _middleButtonDown = false ;
21  bool _rightButtonDown = false ;
22  bool _shiftKeyDown = false ;
23  bool _xButton1Down = false ;
24  bool _xButton2Down = false ;
25  } ;
26 }
nkWinUi::WheelEventData::_delta
float _delta
Wheel's delta.
Definition: WheelEventData.h:16
nkWinUi::WheelEventData::_mouseRel
nkMaths::Point _mouseRel
The mouse's position at event time, relative to the component it is currently hovering.
Definition: WheelEventData.h:13
nkWinUi::WheelEventData::_xButton2Down
bool _xButton2Down
If the mouse x2 button is down (true) or not (false).
Definition: WheelEventData.h:24
nkWinUi::WheelEventData::_leftButtonDown
bool _leftButtonDown
If the left mouse button is down (true) or not (false).
Definition: WheelEventData.h:19
nkWinUi::WheelEventData::_ctrlDown
bool _ctrlDown
If ctrl key is down (true) or not (false).
Definition: WheelEventData.h:18
nkWinUi::WheelEventData::_mouseAbs
nkMaths::Point _mouseAbs
The mouse's position at event time, absolute in screen.
Definition: WheelEventData.h:14
nkMaths::Point
Represents a 2D Point.
Definition: Point.h:12
nkWinUi::WheelEventData::_xButton1Down
bool _xButton1Down
If the mouse x1 button is down (true) or not (false).
Definition: WheelEventData.h:23
nkWinUi::WheelEventData::_shiftKeyDown
bool _shiftKeyDown
If the shift key is down (true) or not (false).
Definition: WheelEventData.h:22
nkWinUi::WheelEventData
Data holder for a wheel event.
Definition: WheelEventData.h:12
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition: Button.h:7
nkWinUi::WheelEventData::_rightButtonDown
bool _rightButtonDown
If the right mouse button is down (true) or not (false).
Definition: WheelEventData.h:21
nkWinUi::WheelEventData::_middleButtonDown
bool _middleButtonDown
If the middle mouse button is down (true) or not (false).
Definition: WheelEventData.h:20